package com.liveinstars.im.domain.manager;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liveinstars.api.im.query.ChatServerQuery;
import com.liveinstars.im.domain.dao.model.ChatServer;

import java.util.List;

/**
 * <p>
 * 聊天服务器 服务类
 * </p>
 *
 * @author 8btc
 * @since 2020-03-31
 */
public interface ChatServerManager extends IService<ChatServer> {

    /**
     * 查询聊天服务器列表
     * @param query
     * @return
     */
    List<ChatServer> listByQuery(ChatServerQuery query);


    /**
     * 添加聊天服务器
     * @param chatServer
     */
    void add(ChatServer chatServer);
}
